#include <stdio.h>
#include <string.h>
#include <sched.h>
#include <time.h>
#include <stdlib.h>
#include <unistd.h>

#include "constantes.h"

#include "cpu_info.h"
#include "parse.h"
char mikernel[BUFFZISE+1];
	
char * get_version(char *kernel_version){

	get_line_with(kernel_version,VERSION_FILE,VERSION_LINUX);
	strcpy(mikernel, kernel_version);
	get_bloque(kernel_version, mikernel,3, SEPARADORES_ESPACIO);
	return kernel_version;	
	
	
}
